package GUI;
import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.Color;
import javax.swing.JButton;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JTextField;


public class SetDBGUI extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					SetDBGUI frame = new SetDBGUI();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public SetDBGUI() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setBackground(new Color(0, 191, 255));
		panel.setBounds(60, 24, 307, 215);
		contentPane.add(panel);
		panel.setLayout(null);
		
		JButton btnBack = new JButton("<=");
		btnBack.setBounds(10, 181, 89, 23);
		panel.add(btnBack);
		
		JButton btnSetDatabase = new JButton("Set Database");
		btnSetDatabase.setBounds(185, 181, 112, 23);
		panel.add(btnSetDatabase);
		
		JLabel lblSettingDatabace = new JLabel("Setting Databace");
		lblSettingDatabace.setFont(new Font("Tahoma", Font.BOLD, 13));
		lblSettingDatabace.setBounds(97, 11, 120, 23);
		panel.add(lblSettingDatabace);
		
		textField = new JTextField();
		textField.setBounds(160, 55, 86, 20);
		panel.add(textField);
		textField.setColumns(10);
		
		textField_1 = new JTextField();
		textField_1.setBounds(160, 86, 86, 20);
		panel.add(textField_1);
		textField_1.setColumns(10);
		
		textField_2 = new JTextField();
		textField_2.setBounds(160, 117, 86, 20);
		panel.add(textField_2);
		textField_2.setColumns(10);
		
		JLabel lblUserid = new JLabel("UserID:");
		lblUserid.setBounds(85, 58, 46, 14);
		panel.add(lblUserid);
		
		JLabel lblUsername = new JLabel("UserName:");
		lblUsername.setBounds(67, 89, 57, 14);
		panel.add(lblUsername);
		
		JLabel lblDescription = new JLabel("Description:");
		lblDescription.setBounds(67, 119, 74, 17);
		panel.add(lblDescription);
	}

}
